import Vue from 'vue'
import Vuex from 'vuex'

import user from './modules/user'
import app from './modules/app'
// default router permission control
import permission from './modules/permission'

import getters from './getters'



Vue.use(Vuex)


export default new Vuex.Store({
    modules: {
        user,
        app,
        permission
    },
    state: {
        imageFix:'?x-oss-process=image/resize,m_fill,h_248,w_248,limit_1/crop,x_0,y_0,w_248,h_248,g_west'
    },
    mutations: {

    },
    actions: {

    },
    getters
})